ISlave.VoeWrite 方法

透过 VoE (Vendor-specific protocol over EtherCAT) 将资料写入具有 VoE 功能的装置。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IKsCommand VoeWrite(
       ulong vendorId,
       ushort vendorType,
       byte[] data
)
Function SoeWriteSsc(
       vendorId As ULong,
       vendorType As UShort,
       data As Byte()
) As IKsCommand

参数

vendorId

型别:ulong

供应商 ID。

 

vendorType

型别:ushort

供应商类型。

 

data

型别:byte[]

欲写入的资料。

回传值

型别:IKsCommand

回传一个方法的状态。

可用的 EtherCAT 状态

ecatPreOp, ecatSafeOp, ecatOp

参见

ISlave 介面

IntervalZero.KINGSTAR.Base.Class 命名空间